package com.ruoyi.boss.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.boss.mapper.UserRechargeListMapper;
import com.ruoyi.boss.domain.UserRechargeList;
import com.ruoyi.boss.service.IUserRechargeListService;

/**
 * 个人用户充值列表-新增Service业务层处理
 * 
 * @author rui
 * @date 2025-08-18
 */
@Service
public class UserRechargeListServiceImpl implements IUserRechargeListService 
{
    @Autowired
    private UserRechargeListMapper userRechargeListMapper;

    /**
     * 查询个人用户充值列表-新增
     * 
     * @param rechargeId 个人用户充值列表-新增主键
     * @return 个人用户充值列表-新增
     */
    @Override
    public UserRechargeList selectUserRechargeListByRechargeId(Long rechargeId)
    {
        return userRechargeListMapper.selectUserRechargeListByRechargeId(rechargeId);
    }

    /**
     * 查询个人用户充值列表-新增列表
     * 
     * @param userRechargeList 个人用户充值列表-新增
     * @return 个人用户充值列表-新增
     */
    @Override
    public List<UserRechargeList> selectUserRechargeListList(UserRechargeList userRechargeList)
    {
        return userRechargeListMapper.selectUserRechargeListList(userRechargeList);
    }

    /**
     * 新增个人用户充值列表-新增
     * 
     * @param userRechargeList 个人用户充值列表-新增
     * @return 结果
     */
    @Override
    public int insertUserRechargeList(UserRechargeList userRechargeList)
    {
        return userRechargeListMapper.insertUserRechargeList(userRechargeList);
    }

    /**
     * 修改个人用户充值列表-新增
     * 
     * @param userRechargeList 个人用户充值列表-新增
     * @return 结果
     */
    @Override
    public int updateUserRechargeList(UserRechargeList userRechargeList)
    {
        return userRechargeListMapper.updateUserRechargeList(userRechargeList);
    }

    /**
     * 批量删除个人用户充值列表-新增
     * 
     * @param rechargeIds 需要删除的个人用户充值列表-新增主键
     * @return 结果
     */
    @Override
    public int deleteUserRechargeListByRechargeIds(Long[] rechargeIds)
    {
        return userRechargeListMapper.deleteUserRechargeListByRechargeIds(rechargeIds);
    }

    /**
     * 删除个人用户充值列表-新增信息
     * 
     * @param rechargeId 个人用户充值列表-新增主键
     * @return 结果
     */
    @Override
    public int deleteUserRechargeListByRechargeId(Long rechargeId)
    {
        return userRechargeListMapper.deleteUserRechargeListByRechargeId(rechargeId);
    }
}
